package com.fyk.service;

import com.fyk.entity.Book;
import com.fyk.mapper.BookMapper;
import com.fyk.utils.ResultUtils;
import com.sun.org.apache.regexp.internal.REUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author qazws
 * @Date 2022/8/20 16:00
 * @Version 1.0
 */

public interface BookService {

    ResultUtils selectAllBook(Book book);

    ResultUtils insertBook(Book book);

    ResultUtils findBook(Book book);

    ResultUtils updateBook(Book book);

    ResultUtils deleteBook(Book book);

    ResultUtils borrowBook(Book book);

    ResultUtils returnBookList(Book book);

    ResultUtils returnFindBookList(Book book);

    ResultUtils returnBook(Book book);

    ResultUtils delAllBook(Book book);
}
